﻿//--------------------------------------------------------------------------------------------------------------------------------
// <copyright file="ParallelepipedalGrid3D.LocationInGrid.cs" company="Exul">
//     Copyright (c) Exul. All rights reserved.
// </copyright>
// <author>Exul</author>
//--------------------------------------------------------------------------------------------------------------------------------

namespace ExulLibrary.FiniteElementMethod
{
    /// <content>Describes location of an element in the three-dimensional parallelepipedal grid.</content>
    public partial class ParallelepipedalGrid3D
    {
        /// <summary>Represents location of an element in the three-dimensional parallelepipedal grid.</summary>
        public sealed class LocationInGrid
        {
            /// <summary>Gets or sets the index of left border point.</summary>
            /// <value>The index of left border point.</value>
            public int LeftBorderPointIndex
            {
                get;
                set;
            }

            /// <summary>Gets or sets the index of right border point.</summary>
            /// <value>The index of right border point.</value>
            public int RightBorderPointIndex
            {
                get;
                set;
            }

            /// <summary>Gets or sets the index of bottom border point.</summary>
            /// <value>The index of bottom border point.</value>
            public int BottomBorderPointIndex
            {
                get;
                set;
            }

            /// <summary>Gets or sets the index of top border point.</summary>
            /// <value>The index of top border point.</value>
            public int TopBorderPointIndex
            {
                get;
                set;
            }

            /// <summary>Gets or sets the index of far border point.</summary>
            /// <value>The index of far border point.</value>
            public int FarBorderPointIndex
            {
                get;
                set;
            }

            /// <summary>Gets or sets the index of near border point.</summary>
            /// <value>The index of near border point.</value>
            public int NearBorderPointIndex
            {
                get;
                set;
            }
        }
    }
}